package operation;

import book.BookList;

public class operationExit implements Ioperation{
    public void work(BookList bookList){

        System.out.println("退出系统.....");
        for (int i = 0; i < bookList.getUsesize(); i++) {
            bookList.setBooks(i,null);
        }
        System.exit(0);
    }
}
